Skip to main content

Text Editor

On opening the template or document, you'll see the Text Editor, which consists of main sections: Tool Bar, Page, Editor View, Abstract Reference Settings, Reivision Setting, Reference Trace View and Abstract Reference Setting. Text Editor Overview

Tool Bar

The Tool Bar provides essential text formatting and document management tools: Tool Bar Overview

Basic Controls

  1. Undo/Redo

    • Undo (←): Reverse your last action
    • Redo (→): Reapply previously undone action
  2. Heading & Paragraph Styles

    • Dropdown menu for text styles
    • Options include Heading 1, 2, 3, 4, 5, 6 etc.
    • Paragraph formatting presets
  3. Font Controls

    • Text size adjustments
    • Font family selection
    • Character spacing

Text Formatting

  1. Basic Formatting

    • B: Bold text
    • I: Italic text
    • U: Underline text
    • S: Strikethrough text
  2. Text Alignment

    • Left align
    • Center align
    • Right align
    • Justify text
  3. List Controls

    • Bullet points
    • Numbered lists

Advanced Features

  1. Document Elements

    • Checklist: Create interactive checklists
    • Link: Insert hyperlinks
    • Table: Create and format tables
    • Horizontal Line: Add section dividers
    • Import: Import Word documents directly into the editor
    • Image: Upload or drag & drop images into the editor
  2. Other Controls

    • Download PDF: Export document
    • Zoom: Adjust view size (100% default)
    • Toggle Tool Bar: Show/hide sub toolbar
  3. Date Formatting for reference

    Available date formats:

    • YYYY-MM-DD: Standard ISO format (e.g., 2024-03-14)
    • MM/DD/YYYY: US format (e.g., 03/14/2024)
    • DD.MM.YYYY: European format (e.g., 14.03.2024)
    • YYYY-MM-DD hh:mmA: ISO with 12-hour time (e.g., 2024-03-14 02:30PM)
    • DD.MM.YYYY HH:mm: European with 24-hour time (e.g., 14.03.2024 14:30)
  4. Insert Reference (+)

    Two types of references available:

    • Abstract (Shortcut: /)

      • Adds generic content reference of Product, SOP, Form, Work Instruction.
      • References that can be swapped through Abstract Reference Settings
      • Content changes based on what Product, SOP, Form, Work Instruction is selected in Reference Settings
      • Perfect for reusable templates that work with different Products, SOPs, Forms, Work Instructions.
      • Example: When you use Product / Name, the actual content will change based on which Product is selected in Abstract Reference Settings
    • Specific (Shortcut: @)

      • Adds specific content reference of Product, SOP, Form, Work Instruction, Document, Template.
      • Fixed reference that points to exact content
      • Example: When you select "Sterilisator 20A", it will always show that specific product's information
      • Cannot be changed through Abstract Reference Settings
      • Used when you need to reference a particular Product, SOP, Form, Work Instruction, Document, Template
  5. Insert Form Fields

    Form fields allow to input structured data directly into documents created in your text editor. These fields can include textboxes, checkboxes, enabling interactive and customizable forms.

    Types of Form Fields

    text editor supports the following types of form fields:

    • Text Boxes: Allow users to enter single-line or multi-line text.
    • Check Boxes: Enable users to select or deselect options.

    Customizing Form Fields

    You can customize form fields by modifying their properties: Click the three dots and click the Setting.

tip

When you add Form Fields/Input Fields to a template, it becomes a Form-Template that can be used in QM Lists.

For more information about QM Lists, see QM List.

Keyboard Shortcuts

For improved efficiency, use these common shortcuts:

ActionWindows/LinuxMac
UndoCtrl + Z⌘ + Z
RedoCtrl + Y⌘ + Y
BoldCtrl + B⌘ + B
ItalicCtrl + I⌘ + I
StrikeCtrl + Shift + X⌘ + Shift + S
UnderlineCtrl + U⌘ + U
Insert LinkCtrl + Shift + U⌘ + Shift + U
Order ListCtrl + Shift + 7⌘ + Shift + 7
Unorder ListCtrl + Shift + 8⌘ + Shift + 8
CopyCtrl + C⌘ + C
CutCtrl + X⌘ + X
PasteCtrl + V⌘ + V
Select AllCtrl + A⌘ + A
Specific Ref@@
Abstract Ref//
TextfieldCtrl + Shift + 1⌘ + Shift + 1
CheckboxCtrl + Shift + 2⌘ + Shift + 2
Number FieldCtrl + Shift + 3⌘ + Shift + 3
Date FieldCtrl + Shift + 4⌘ + Shift + 5
Select FieldCtrl + Shift + 5⌘ + Shift + 5
Radio FieldCtrl + Shift + 6⌘ + Shift + 6

Page

The Page is the main document editing area where you write and format your content, similar to other document editors like Google Docs or Microsoft Word.

Abstract Reference Settings

The Abstract Reference Settings panel, accessed by clicking the gear icon (⚙️) in the right bottom side, allows you to configure which entities your abstract references point to. This is where you can swap the content source for abstract references. Abstract Reference Settings

Available Context Types

  1. SOP

  2. Work Instruction

  3. Form

  4. Product

Usage

  1. Changing Reference Sources

    • Click the gear icon (⚙️) to open settings
    • Select the context type (SOP, Work Instruction, Form, Product)
    • Choose the specific entity from the dropdown
    • Click "Save" to apply changes
  2. Effects

    • All abstract references (/) will update to show content from the newly selected entity
    • Specific references (@) remain unchanged
    • Changes apply throughout the editor

Example

If you change the Product in Reference Settings from "Sterilizer 23B - FDA" to "Insulin Pump X100":

  • Abstract reference /Product/Name will change from "Sterilizer 23B - FDA" to "Insulin Pump X100"
  • Abstract reference /Product/Class will update from "Class II" to "Class III"
  • Specific reference @Sterilizer 23B - FDA/Name remains unchanged

Editor View

The Editor View is a template-specific feature that allows you to switch between different views of referenced content. This toggle functionality is only available in template editor.

View Types

  1. LINK View

    • Shows the reference paths instead of actual content
    • Displays references in format like:
      • Sterilisator 20A / Name
      • Sterilisator 20A / Risk Class
    • Helps template authors verify reference paths
    • Useful for debugging reference issues
  2. CONTENT View

    • Shows the actual content from the references
    • Displays the resolved content instead of reference paths
    • Examples:
      • Instead of Sterilisator 20A / Name, shows "Sterilisator 20A"
      • Instead of Sterilisator 20A / Risk Class, shows "Class IIb"

Revision History

The Revision system provides comprehensive version control for your documents and templates. It helps you track changes, maintain document history, and ensure compliance with audit requirements.

Understanding Revisions

Each document or template maintains a complete history of changes through revisions. When you create a new revision, the system captures the entire state of the document along with metadata about the change.

A revision includes:

  • A unique revision number
  • A descriptive commit message
  • Content state at that point in time

Creating New Revisions

To create a new revision:

  1. Click the "Create New Revision" button at the top of your document
  2. In the revision dialog, enter a descriptive commit message explaining your changes
  3. Click "Create New Revision" to save

The system will automatically:

  1. Increment the revision number
  2. Save your commit message
  3. Capture the document's current state
  4. Mark this version as "latest"

Working with Historical Versions

Revision History Interface|300x300

The revision history provides a complete audit trail of your document. The current version is always marked as "latest" and is fully editable. All previous versions are preserved in a read-only state for reference and audit purposes.

To access historical versions:

  1. Click the revision icon (🕔🔄) to open the revision history
  2. Browse through previous versions
  3. Select any version to view its content and metadata
tip

One powerful feature of the revision system is the ability to create new documents or templates from any historical version. This is particularly useful when you need to:

  • Branch from a previous version
  • Create variations of existing documents
  • Recover content from older versions

See How to Create Document or Template From History

Reference Trace View

The Reference Trace View provides a comprehensive overview of all document relationships and references. This feature helps you track and manage how documents are connected through various reference types.

Reference Trace View|600x400

Understanding the Trace Dialog

When you click the "View Trace" button, you'll see a dialog organized into different sections based on document types:

  1. Standard Operating Procedure (SOP)
  2. Work Instruction
  3. Form
  4. Product

Features and Actions

Each reference in the trace view includes:

  1. Reference Information

    • NAME: Document or item name
    • RELATION TYPE: How items are connected
    • ACTIONS:
      • "Visit": Open the referenced document
      • "Visit in new tab": Open in separate tab

Use Cases

The Reference Trace View is particularly useful for:

  1. Document Management

    • Track document dependencies
    • Verify reference integrity
    • Manage document relationships
  2. Quality Assurance

    • Ensure proper document linkage
    • Validate reference completeness
    • Maintain documentation standards
  3. Audit Preparation

    • Review document connections
    • Verify regulatory compliance
    • Track document relationships

Importing Word Documents

The Text Editor now supports direct import of Microsoft Word (.docx) files, allowing you to easily convert existing Word documents into CertHub's format while preserving most of the original formatting.

Word Import Button

How to Import Word Documents

  1. Open any document or template in the Text Editor
  2. Click the "Import" button in the toolbar
  3. Select your Word document (.docx file) from your computer
  4. Wait for the system to process and convert the document
  5. Review the imported content and make any necessary adjustments

What Gets Preserved

The import feature intelligently extracts and preserves:

  • Document structure (headings, paragraphs)
  • Basic text formatting (bold, italic, underline)
  • Lists (bulleted and numbered)
  • Tables with basic formatting
  • Simple images
  • Basic page layout

Limitations

Some complex Word features may require manual adjustment after import:

  • Advanced formatting (text effects, complex styles)
  • Complex tables with merged cells or special formatting
  • Embedded objects (charts, SmartArt)
  • Macros and form fields
  • Comments and tracked changes
  • Headers and footers (these may be imported separately)

For more information about importing data into CertHub, see the Importing Data documentation.